/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Algorithm;

/**
 *
 * @author PaLam
 */
public class SubImageDigest {

    private SubImageDigest() {
    }

    /**
     *
     * @param msg Input word
     * @return String of Murmur's digest
     */
    public static String Digest(Byte []msg) {
        int digest;
        //0x753ec223 is random number
        digest = MurmurHash3.murmurhash3x8632(msg, 0x753ec223);
        return Integer.toHexString(digest);
    }

}
